import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-updateapp',
  templateUrl: './updateapp.component.html',
  styleUrls: ['./updateapp.component.css']
})
export class UpdateappComponent implements OnInit {
//可更新应用表格
updateData=[
  {
    name:"出行发票识别",
    device:"HiLens Kit 91002402",
    version:"2.0.0",
    updatetime:"2021-01-26 22:23",
    limittime:"2021-01-26 22:23",
  },{
    name:"车牌检测",
    device:"HiLens Kit 91002402",
    version:"2.0.0",
    updatetime:"2020-09-22 01:36",
    limittime:"2020-09-22 01:36",
  },
  {
    name:"安全帽识别",
    device:"HiLens Kit 91002402",
    version:"2.0.0",
    updatetime:"2020-08-07 03:31",
    limittime:"2020-08-07 03:31",
  },
]
//离线更新弹出框
updateIsVisable=false
  constructor() { }

  ngOnInit(): void {
  }
  offlineUpdate():void{
     this.updateIsVisable=true
  }
  updateOk(){
    this.updateIsVisable=false
  }
  updateCancel(){
    this.updateIsVisable=false
  }
}
